package org.hertsig.entities;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NonNull;
import lombok.ToString;

@Getter @AllArgsConstructor @ToString(of={"name", "setCode"})
public class Card {
	@NonNull private final String name;
	@NonNull private final Type type;
	@NonNull private final ManaCost cost;
	@NonNull private final Rarity rarity;
	@NonNull private final String setCode;
	@NonNull private final String artist;
	private final String rules;
	private final String flavor;
	
	public Card(String name, Type type, ManaCost cost, Rarity rarity, String setCode, String artist) {
		this(name, type, cost, rarity, setCode, artist, null, null);
	}
}
